package lab02.test07;

import com.sun.org.apache.xpath.internal.SourceTree;

/**
 * Created by tianxiadiyishuai on 2017/10/24.
 */
public class Test {
    public static void main(String[] args) {
        Person p=new Person();
        p.age="年龄：20";
        p.name="姓名：二狗";
        p.idnumber="身份证号：5201314";
        Student a=new Student();
        a.name="二狗";
        a.age="20";
        a.idnumber="5201314";
        a.schoolname="学校：哈佛大学";
        a.schoolnumber="1314520";
        System.out.println(p.ABC());
        System.out.println(a.ABC());
    }
}
